{% extends "base.html" %}

{% load url from future %}
{% load i18n %}
{% load bootstrap_tags %}
{% load account_tags %}

{% block head_title %}{% trans "Password reset" %}{% endblock %}
{% block header %}
<div class="jumbotron subhead" id="overview">
	<div class="container">
		<h1>Password reset</h1>
	</div>
</div>
{% endblock %}

{% user_display request.user as user_display %}

{% block content %}
    <div class="row">
        <div class="offset2 span8">
			<form method="POST" action="">
				<legend>{% trans "Password reset" %}</legend>
				<p>{% trans "Forgot your password? Enter your email address below, and we'll send you an email allowing you to reset it." %}</p>
				<fieldset>
					{% csrf_token %}
					{{ form|as_bootstrap }}
					<div class="form-actions">
						<button type="submit" class="btn btn-primary">{% trans "Reset my password" %}</button>
					</div>
				</fieldset>
			</form>
		</div>
	</div>
{% endblock %}

{% block scripts %}
    <script>
        $("#id_email").focus();
    </script>
{% endblock %}
